package pe.gob.sunarp.entidad;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;


/**
 * The persistent class for the IND_PN_PARTIC_TITU database table.
 * 
 */
@Entity
@Table(name="IND_PN_PARTIC_TITU")
public class IndPnParticTitu implements Serializable {
	private static final long serialVersionUID = 1L;
	private IndPnParticTituPK id;
	private String agntSync;
	private String apeMat;
	private String apePat;
	private String areaRegId;
	private String codPartic;
	private String cur;
	private String nombres;
	private String nuDocIden;
	private String tiDocIden;
	private String tiPrtc;
	private Date tsUltSync;

    public IndPnParticTitu() {
    }


	@EmbeddedId
	public IndPnParticTituPK getId() {
		return this.id;
	}

	public void setId(IndPnParticTituPK id) {
		this.id = id;
	}
	

	@Column(name="AGNT_SYNC", length=4)
	public String getAgntSync() {
		return this.agntSync;
	}

	public void setAgntSync(String agntSync) {
		this.agntSync = agntSync;
	}


	@Column(name="APE_MAT", length=30)
	public String getApeMat() {
		return this.apeMat;
	}

	public void setApeMat(String apeMat) {
		this.apeMat = apeMat;
	}


	@Column(name="APE_PAT", length=30)
	public String getApePat() {
		return this.apePat;
	}

	public void setApePat(String apePat) {
		this.apePat = apePat;
	}


	@Column(name="AREA_REG_ID", length=5)
	public String getAreaRegId() {
		return this.areaRegId;
	}

	public void setAreaRegId(String areaRegId) {
		this.areaRegId = areaRegId;
	}


	@Column(name="COD_PARTIC", length=3)
	public String getCodPartic() {
		return this.codPartic;
	}

	public void setCodPartic(String codPartic) {
		this.codPartic = codPartic;
	}


	@Column(length=14)
	public String getCur() {
		return this.cur;
	}

	public void setCur(String cur) {
		this.cur = cur;
	}


	@Column(length=40)
	public String getNombres() {
		return this.nombres;
	}

	public void setNombres(String nombres) {
		this.nombres = nombres;
	}


	@Column(name="NU_DOC_IDEN", length=12)
	public String getNuDocIden() {
		return this.nuDocIden;
	}

	public void setNuDocIden(String nuDocIden) {
		this.nuDocIden = nuDocIden;
	}


	@Column(name="TI_DOC_IDEN", length=2)
	public String getTiDocIden() {
		return this.tiDocIden;
	}

	public void setTiDocIden(String tiDocIden) {
		this.tiDocIden = tiDocIden;
	}


	@Column(name="TI_PRTC", length=2)
	public String getTiPrtc() {
		return this.tiPrtc;
	}

	public void setTiPrtc(String tiPrtc) {
		this.tiPrtc = tiPrtc;
	}


    @Temporal( TemporalType.DATE)
	@Column(name="TS_ULT_SYNC")
	public Date getTsUltSync() {
		return this.tsUltSync;
	}

	public void setTsUltSync(Date tsUltSync) {
		this.tsUltSync = tsUltSync;
	}

}